package com.ccc.demoboot.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.ccc.demoboot.pojo.Material;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * @Author wz
 * @Date 2024/6/4 9:02
 * @PackageName:com.ccc.demoboot.service
 * @ClassName: MaterialService
*/
public interface MaterialService extends IService<Material>{

    List<Map<String,Object>> selectDuo();


    Map<String, Object>  upSelectId(Integer id);


    List<Map<String, Object>> searchSelectId(String materialname);

    boolean upQuantity(int materialid,int warehouseid,int areaid,int shelves, int content);


    List<Material> zhuSelectQ();

    List<Material> zhuSelectName();


    List<Map<String, Object>> selectAllMaterial(QueryWrapper materialQueryWrapper);

    Map<String, Object> selectOne(Integer id);
}
